@import '~antd/lib/style/themes/default.less';
.fileTabs{
  border: 1px solid #e8e8e8;
  border-top: none;
  padding:20px;
  :global {
    .ant-card-head{
      min-height: 43px;
      .ant-card-head-title{
        padding: 0!important;
        line-height: 43px;
      }
    }
  }

}
.fileTablesBorder{
  border: none!important;
}

.fileList{
  height:292px;
  padding-left:5px;
  padding-right:5px;
  border:1px solid #ddd;
  overflow-y:auto;
}

.fileContainer{
  position: relative;
  border-bottom: 1px dashed #d9d9d9;
  padding: 10px;
  display: flex;
  flex-direction: row;
  &:hover{}

  &:after {
    content: "\200B";
    display: block;
    height: 0;
    clear: both;
  }
  &:last-child{
    border-bottom: 0;
  }
  &:first-child{
    //padding-top: 0;
  }
}


.filePic,.fileDetails,.fileDelete{
  cursor: pointer;
  float: left;
}
.filePic{
  width: 50px;
  height: 50px;
  //border: 1px solid #ddd;
  border-radius: 3px;
  text-align: center;
  line-height: 48px;
  &:hover{
    cursor: pointer;
  }
  img{
    width: 100%;
    height: 100%;
  }
}
.fileDetails{
  margin: 0 5px;
  flex: 1;
  .fileName{
    //width: 105px;
    //margin-top:2px;
    word-break: break-all;
    //overflow:hidden;
    //text-overflow:ellipsis;
    //white-space:nowrap
  }
  .filePath{
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
  }
}

.uploadStatus, .fileDelete{
  line-height: 48px;
  font-size: 12px;
  //float: right;
}

.primary{
  color: @primary-color;
}
.succeed{
  color: @green-6;
}
.error{
  color:@red-6;
}

.gray {
  color: #999;
}

.no_upload{

}
.uploading{

}

.fileDelete{
  font-size: 14px;
  display: inline-block;
  //float: right;
  margin-left: 10px;
}

.fileUploadWarp {
  :global {

    /* 上传组件 */

    .ant-upload-list {
      display: none;
    }

    /* end 上传组件 */
  }
}
